﻿using System.Threading;
using System.Threading.Tasks;

namespace WholeSlideImageViewer
{
    public interface IExportService
    {
        Task<IExportProgress> ExportTiffAsync(RetainableDeepZoomGenerator deepZoom, ITiffOutputOptions options, string outputFileName, CancellationToken cancellationToken);
        Task<IExportProgress> ExportOptiAsync(RetainableDeepZoomGenerator deepZoom, IOptiOutputOptions options, string outputFileName, CancellationToken cancellationToken);
    }
}
